import Vue from 'vue'
import App from './App'
import store from './store'
import tools from 'common/tools.js'
import Http from 'common/axios.js'

Vue.prototype.Http = Http
Vue.prototype.$store = store
Vue.prototype.$tools = tools




// Vue.prototype.$router = router
// #ifndef VUE3
Vue.config.productionTip = false
App.mpType = 'app'
const app = new Vue({
    ...App,
	store
})
app.$mount()
// #endif

// const app = new Vue({
// 	store,
//     ...App
// })

// #ifdef VUE3
import { createSSRApp } from 'vue'
export function createApp() {
  const app = createSSRApp(App)
  return {
    app,
	
  }
}
// #endif